package org.elephas.webapp.converters;

import java.util.Locale;

import org.apache.wicket.util.convert.IConverter;
import org.elephas.model.User;

/**
 * Created Apr 6, 2008
 *
 * @author <a href="mailto:jlee@antwerkz.com">Justin Lee</a>
 */
public class UserConverter implements IConverter {
    public Object convertToObject(String s, Locale locale) {
        return null;
    }

    public String convertToString(Object o, Locale locale) {
        User user = (User)o;
        return user.getFullName();
    }
}
